package Ubi.App;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

import android.location.Location;

public class EventPickUp extends EventBase
{
	Location 				m_PickUpLocation;
	Contact					m_Picker;
	Map<Contact, Location>	m_Participants;
	
	public EventPickUp(Location dest, Date date, Contact creator, Contact picker, Map<Contact, Location> participants) 
	{
		super(dest, date, creator);
		m_Participants = new HashMap<Contact, Location>();
		
		if(participants != null)
		{
			Set<Contact> contacts = participants.keySet();
			for(Contact c : contacts)
			{
				m_Participants.put(c, participants.get(c));
			}
		}
		
		m_Picker = picker;
	}
}
